﻿using B.S.Databasic.Domain.BaseEntities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace B.S.Databasic.Domain.RBAC
{
    /// <summary>
    /// 用户实体
    /// </summary>
    public class AccountModel : BaseEntity
    {
        /// <summary>
        /// 账号
        /// </summary>
        public string Name { get; set; } = string.Empty;
        /// <summary>
        /// 密码
        /// </summary>
        public string Pwd { get; set; } = string.Empty;
        /// <summary>
        /// 真实名称
        /// </summary>
        public string RealName { get; set; } = string.Empty;
        /// <summary>
        /// 性别
        /// </summary>
        public bool? Sex { get; set; }
        /// <summary>
        /// 地址
        /// </summary>
        public string? Address { get; set; }
        /// <summary>
        /// 联系号
        /// </summary>
        public string? Phone { get; set; }
        /// <summary>
        /// 是否启用(true(启用)\false(禁用))
        /// </summary>
        public bool IsState { get; set; } = true;
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; } = DateTime.Now;
    }
}
